package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.TreeEntity;

/**
 * 工艺规程对象 mes_process
 * 
 * @author ruoyi
 * @date 2021-10-15
 */
public class MesProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String processUuid;

    /** 父ID */
    @Excel(name = "父ID")
    private String parentUuid;

    @Excel(name = "祖先")
    private String ancestors;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 版本号 */
    @Excel(name = "版本号")
    private String versionNum;

    /** 图纸号 */
    @Excel(name = "图纸号")
    private String drawNum;
    private String partNum;

    /** 物料表ID */
    @Excel(name = "物料表ID")
    private String fkItemUuid;

    @Excel(name = "物料ID")
    private String itemUuid;

    @Excel(name = "物料名称")
    private String itemName;

    @Excel(name = "物料编码")
    private String itemNum;

    @Excel(name = "经办人")
    private String attentionUserName;

    @Excel(name = "审核人")
    private String confirmUserName;

    private String orderDetailItemUuid;
    private String wmsDictMeasuringUnit;
    private String fkMesProcessUuid;
    private String itemSpecification;
    private BigDecimal processAmt;

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification;
    }

    public String getPartNum() {
        return partNum;
    }

    public void setPartNum(String partNum) {
        this.partNum = partNum;
    }

    public String getFkMesProcessUuid() {
        return fkMesProcessUuid;
    }

    public void setFkMesProcessUuid(String fkMesProcessUuid) {
        this.fkMesProcessUuid = fkMesProcessUuid;
    }

    public String getWmsDictMeasuringUnit() {
        return wmsDictMeasuringUnit;
    }

    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public BigDecimal getProcessAmt() {
        return processAmt;
    }

    public void setProcessAmt(BigDecimal processAmt) {
        this.processAmt = processAmt;
    }

    public String getOrderDetailItemUuid() {
        return orderDetailItemUuid;
    }

    public void setOrderDetailItemUuid(String orderDetailItemUuid) {
        this.orderDetailItemUuid = orderDetailItemUuid;
    }

    public void setOrderNum(String orderNum)
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum()
    {
        return orderNum;
    }



    public String getConfirmUserName() {
        return confirmUserName;
    }

    public void setConfirmUserName(String confirmUserName) {
        this.confirmUserName = confirmUserName;
    }

    private List<MesProcess> children = new ArrayList<MesProcess>();

    public List<MesProcess> getChildren() {
        return children;
    }

    public void setChildren(List<MesProcess> children) {
        this.children = children;
    }

    public String getItemUuid() {
        return itemUuid;
    }

    public void setItemUuid(String itemUuid) {
        this.itemUuid = itemUuid;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }


    public String getItemNum() {
        return itemNum;
    }

    public void setItemNum(String itemNum) {
        this.itemNum = itemNum;
    }

    public String getAttentionUserName() {
        return attentionUserName;
    }

    public void setAttentionUserName(String attentionUserName) {
        this.attentionUserName = attentionUserName;
    }

    public void setProcessUuid(String processUuid)
    {
        this.processUuid = processUuid;
    }

    public String getProcessUuid()
    {
        return processUuid;
    }
    public void setParentUuid(String parentUuid)
    {
        this.parentUuid = parentUuid;
    }

    public String getParentUuid()
    {
        return parentUuid;
    }

    public void setVersionNum(String versionNum)
    {
        this.versionNum = versionNum;
    }

    public String getVersionNum()
    {
        return versionNum;
    }
    public void setDrawNum(String drawNum)
    {
        this.drawNum = drawNum;
    }

    public String getDrawNum()
    {
        return drawNum;
    }
    public void setFkItemUuid(String fkItemUuid)
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid()
    {
        return fkItemUuid;
    }

    // Base


    @Override
    public String toString() {
        return "MesProcess{" +
                "processUuid='" + processUuid + '\'' +
                ", parentUuid='" + parentUuid + '\'' +
                ", versionNum='" + versionNum + '\'' +
                ", drawNum='" + drawNum + '\'' +
                ", fkItemUuid='" + fkItemUuid + '\'' +
                '}';
    }
}
